//
//  TCSGdatabaseList.m
//  iPing
//
//  Created by Thomas on 8/11/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import "TCSGdatabaseList.h"


@implementation TCSGdatabaseList
-(id)init
{
	self = [super init];
	database = [[NSMutableDictionary alloc] init];
	database = [[TCSGGeneralMethods getDB] mutableCopy];
	dbkeys = [[NSMutableArray alloc] init];
	dbkeys = [[database allKeys] mutableCopy];
	return self;
}
-(int)numberOfItems
{
	return [dbkeys count];
}
-(NSDictionary *)getDictForRow:(int)row
{
	return [database objectForKey:[dbkeys objectAtIndex:row]];
}

@end
